/**
 * Created by kangdaye on 16/6/13.
 */
app.factory('employeeCache', function() {
    return{
        listTableHeader : [
            {displayName:'ID', field: 'id', width:'10%'},
            {displayName:'姓名', field: 'name', width:'15%'},
            {displayName:'手机', field: 'phone', width:'15%'},
            {displayName:'微信号', field: 'weixin',width:'15%'},
            {displayName:'配送范围', field: 'scope', width:'30%'},
            {displayName:'操作',width:'15%',cellTemplate:'<div class="operation">' +
                '<a class="mr-10" ng-click="evt.entity.isBindMan(row.id)">解绑</a>' +
                '<a class="mr-10" ng-click="evt.entity.addEdit(row)">修改</a>' +
                '<a class="mr-10" ng-click="evt.entity.delete(row.id)">删除</a>' +
                '<a href="{{$root.prefix}}order/employee/employeeNum.html&{{row.id}}">配送量</a>' +
            '</div>'
            }
        ]
    }
});
